import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import "@/assets/css/global.scss";
import 'element-plus/dist/index.css'
import { router } from "./router";
import pinia from "./store";
process.env["ELECTRON_DISABLE_SECURITY_WARNINGS"] = "true"; //取消警告

const app = createApp(App);
app.use(router);
app.use(pinia);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}

app.mount("#app");
